package com.tqjc.common;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @projectName: BaotouSteel
 * @className: FirstRun
 * @author: Patienyon
 * @description: 初始化方法
 * @date: 2023/6/20 16:54
 */

@Component
@Slf4j
public class FirstRun implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        initQuartzTask();
    }


    /**
     * @param :
     * @return void
     * @author Patienyon
     * @description 初始化所有的定时任务
     * @date 2023/6/20 16:56
     */
    private void initQuartzTask(){
    }

}
